package com.pz.account.controller;

import com.pz.account.service.AccountEventsService;
import com.pz.art.domain.AssoEvents;
import com.ruoyi.common.core.domain.AjaxResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/mobile/events")
public class AccountEventsController{

    @Autowired
    private AccountEventsService accountEventsService;

    @GetMapping("/list")
    public AjaxResult list(AssoEvents assoEvents){
        return AjaxResult.success(accountEventsService.selectAssoEventsList(assoEvents));
    }
}
